<%--
  Created by IntelliJ IDEA.
  User: Tang'ya'kang
  Date: 2023/5/23
  Time: 2:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Edit Account</title>
</head>
<%@ include file="head.jsp"%>
<body>
<div class="card">
    <div class="card-body">
        <h5 class="card-title" align="center">商家信息修改</h5>
        <div class="card-body">
            <form action="./accountManagementServlet" method="get">
                <input type="hidden" name="action" value="EditAccount">
                <input type="hidden" name="Page" value="${requestScope.Page}">
                <div class="form-group">
                    <label> i d </label>
                    <input class="form-control" type="text" placeholder=${requestScope.merchant.user_id} readonly name="user_id" value="${requestScope.merchant.user_id}">
                </div>
                <div class="form-group">
                    <label> 账 号 </label>
                    <input class="form-control" type="text" placeholder=${requestScope.merchant.user_name} readonly name="user_name" value="${requestScope.merchant.user_name}">
                </div>
                <div class="form-group">
                    <label> 商品上架最大数量 </label>
                    <input type="text" class="form-control" id="price" name="cnt" value="${requestScope.merchant.cnt}">
                </div>
                <button type="submit" class="btn btn-primary">修 改</button>
            </form>
        </div>

    </div>
    <%@ include file="/html/Foot.jsp"%>
</div>
</body>
</html>
